home *** CD-ROM | disk | FTP | other *** search
Makefile | 1996-09-27 | 461 b | 29 lines |
- #
- # makefile to build CDT
- #
-
- # compiler driver
- #
- CC = gcc
-
- # default compiler flags
- #
- CFLAGS = -O2 -fno-function-cse -fno-force-mem -msmall-code
-
- # useful for development (faster compiling since no optimizations)
- #
- #CFLAGS = -Dextern=static -D__OPTIMIZE__ -w -msmall-code
-
- # linker options (no debug info,no startup, no libraries)
- #
- LDFLAGS = -s -nostdlib
-
- # which libraries
- #
- LDLIBS =
-
- # default target
- #
- CDT: cdt.o
- $(CC) $(LDFLAGS) -o $@ $? $(LDLIBS)
-